import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import i18n from './i18n'
import filters from './utils/filter'

import * as Elicons from '@element-plus/icons-vue'

import 'element-plus/dist/index.css'
import './styles/index.scss'

const app = createApp(App)
Object.keys(Elicons).forEach((key: any) => {
  app.component(key, Elicons[key])
})
filters(app)
app.use(router)
app.use(store)
app.use(i18n)
app.mount('#app')
